#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "iobot.h"
#include "solstice.h"
#include "syscall.h"

iobot_t* timebot;

int main()
{
	//unsigned int res1, res2, success = 0;	
	timebot = iobot_create("Solstice - Keeping Time", 49, 25, 31, 24);
	iobot_update_output(timebot);

	char done = 0;
	while(done == 0)
	{
		//TODO: Get Time system call
		//TODO: Print the time to the iobot
		iobot_update_output(timebot);
		asm ("hlt");//go easy on the user's cpu
	}

	iobot_destroy(timebot);
	exit(0);
	return 1;
}

